WooCommerce\Square\Gateway\API S

Total Complexity 47
Dependencies 29
Dependents 1
Total lines 632
Lines of code 195
Logical lines of code 121
Comment lines 267
Methods 30
Properties 2

Methods 30

Method Rating Maintainability Complexity Lines of code
tokenize_payment_method()
S
57 4 17
credit_card_capture()
S
61 4 11
refund()
S
61 4 11
void()
S
61 4 11
adjust_order()
S
58 3 14
create_order()
S
62 2 10
do_post_parse_response_validation()
S
71 2 6
get_transaction()
S
64 2 9
get_payment()
S
69 1 6
retrieve_gift_card()
S
69 1 6
supports_get_tokenized_payment_methods()
S
82 1 3
__construct()
S
75 1 4
supports_update_tokenized_payment_method()
S
82 1 3
supports_remove_tokenized_payment_method()
S
82 1 3
get_order()
S
82 1 3
get_api_id()
S
81 1 3
check_debit()
S
98 1 1
get_location_id()
S
82 1 3
update_order()
S
67 1 7
update_payment()
S
67 1 7
credit_card_authorization()
S
69 1 6
calculate_order()
S
67 1 7
retrieve_order()
S
67 1 7
remove_tokenized_payment_method()
S
70 1 6
get_tokenized_payment_methods()
S
69 1 6
create_customer()
S
69 1 6
create_customer_card()
S
69 1 6
gift_card_charge()
S
69 1 6
credit_card_charge()
S
69 1 6
update_tokenized_payment_method()
S
98 1 1